<?php

function neogeo_countryprop_Add(){
global $xoopsTpl;
 $xoopsTpl->display('neogeocountryprop_addform.thml');
}
function neogeo_countryprop_Add_ok(){
$countrypropH = & xoops_getmodulehandler("countryprop");
	 $countrypropO = $countrypropH->create();
	 $countrypropO->setFormVars($_POST,'countryprop');
	 $countrypropH->insert($countrypropO);
	 redirect_header('index.php');
}
function neogeo_countryprop_Edit(){
global $xoopsTpl;
 $xoopsTpl->display('neogeocountryprop_editform.thml');
}
function neogeo_countryprop_Edit_ok(){
$countrypropH = & xoops_getmodulehandler("countryprop");
	 $countrypropO = $countrypropH->get($_GET['id']);
	 $countrypropO->setFormVars($_POST,'countryprop');
	 $countrypropH->delete($countrypropO);
	 redirect_header('index.php');

}
function neogeo_countryprop_Delete_ok(){
$countrypropH = & xoops_getmodulehandler("countryprop");
	 $countrypropO = $countrypropH->get($_GET['id']);
#	 $countrypropO->setFormVars($_POST,'countryprop');
	 $countrypropH->delete($countrypropO);
	 redirect_header('index.php');

}



?>